.search-bar-panel {
    display: flex;
    width: 100%;

    .search-wrapper {
        display: flex;
        flex-direction: column;
        flex: 1;

        .query-item-wrapper {
            display: flex;
            align-items: center;
            flex-wrap: wrap;

            .bar-item {
                display: flex;
                align-items: center;
                flex: 1 1 50%;
                max-width: 50%;

                label {
                    width: 65px;
                    margin-right: 8px;
                }
            }
        }
    }

    .icon-btn {
        margin-right: 8px;
        border: none;
        background-color: #f5f5f5;

        &.search-btn {
            background-color: #1890ff;
            color: #fff;
            margin-left: 8px;
        }

        &:hover {
            background-color: #1890ff;
            color: #fff;
        }

        &:last-child {
            margin-right: 0;
        }
    }
}

.ex-query {
    .bar-item {
        margin-top: 16px;
    }
}

.iconfont {
    transition-duration: 0.2s;
}

.expand {
    .iconfont {
        transform: rotateX(180deg);
    }
}

.ex-query {
    max-height: 0;
    overflow: hidden;
    transition-duration: 0.2s;

    &.expand {
        max-height: 500px;
        overflow: auto;
    }
}